﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="UI.Controls.Address" mc:Ignorable="d" >
    <StackPanel>
	<Grid VerticalAlignment="Top">
            
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="Auto"/>
    		<ColumnDefinition/>
    	</Grid.ColumnDefinitions>
    	<Grid.RowDefinitions>
    		<RowDefinition/>
    		<RowDefinition/>
    		<RowDefinition/>
    		<RowDefinition/>
    		<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
    	</Grid.RowDefinitions>
    	<Label Content="Country:" d:LayoutOverrides="Width, Height" Margin="0,0,5,0" HorizontalAlignment="Left"/>
    	<Label Margin="0,0,5,0" Content="County:" d:LayoutOverrides="Width, Height" Grid.Row="1" HorizontalAlignment="Left"/>
    	<Label Margin="0,0,5,0" Content="City:" d:LayoutOverrides="Width, Height" Grid.Row="2" HorizontalAlignment="Left"/>
    	<Label Margin="0,0,5,0" Content="Street:" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left" Grid.Row="3"/>
    	<Label Margin="0,0,5,0" Content="Postal code:" d:LayoutOverrides="Width, Height" Grid.Row="4" HorizontalAlignment="Left"/>
    	<TextBox x:Name="Country" Margin="0,0,8.133,4" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" MinWidth="100"/>
    	<TextBox x:Name="County" Margin="0,0,8.133,4" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="1" MinWidth="100"/>
    	<TextBox x:Name="City" Margin="0,0,8.133,4" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="2" MinWidth="100"/>
    	<TextBox x:Name="Street" Margin="0,0,8.133,4" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="3" MinWidth="100"/>
    	<TextBox x:Name="PostalCode" Grid.Column="1" Grid.Row="4" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Margin="0,0,8,4" MinWidth="100"/>
    	<StackPanel Grid.RowSpan="4" Grid.Row="5" Grid.ColumnSpan="2">
    		<Label Content="Description:" Padding="5,5,5,1"/>
    		<RichTextBox x:Name="Description" MinHeight="50" Padding="5,1,5,5" Margin="5,0,8,5" MinWidth="150" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
    			<FlowDocument>
    				<Paragraph></Paragraph>
    			</FlowDocument>
    		</RichTextBox>
    	</StackPanel>            
    </Grid>
	<Expander Header="Other">
    		<Grid VerticalAlignment="Top">
    			<Grid.ColumnDefinitions>
    				<ColumnDefinition Width="Auto"/>
    				<ColumnDefinition/>
    			</Grid.ColumnDefinitions>
    			<Grid.RowDefinitions>
    				<RowDefinition />
    				<RowDefinition />
    				<RowDefinition />
    				<RowDefinition />
    				<RowDefinition />
    				<RowDefinition />
    			</Grid.RowDefinitions>
    			<Label HorizontalAlignment="Left" Margin="0,0,0,-0.001" Content="State:" d:LayoutOverrides="Height"/>
    			<Label HorizontalAlignment="Left" Content="Municipality:" d:LayoutOverrides="Height" Grid.Row="1"/>
    			<Label HorizontalAlignment="Left" Content="Neighbourhood:" Grid.Row="2" d:LayoutOverrides="Height"/>
    			<Label HorizontalAlignment="Left" Content="Complements:" d:LayoutOverrides="Height" Grid.Row="3"/>
    			<Label HorizontalAlignment="Left" Content="District:" d:LayoutOverrides="Height" Grid.Row="4"/>
    			<Label x:Name="ApartmentLabel" HorizontalAlignment="Left" Content="Apartment:" d:LayoutOverrides="Height" Grid.Row="5"/>
    			<TextBox x:Name="State" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" MinWidth="100" HorizontalContentAlignment="Stretch" Margin="0,0,8,4"/>
    			<TextBox x:Name="Municipality" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="1" MinWidth="100" HorizontalContentAlignment="Stretch" Margin="0,0,8,4"/>
    			<TextBox x:Name="Neighbourhood" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="2" MinWidth="100" HorizontalContentAlignment="Stretch" Margin="0,0,8,4"/>
    			<TextBox x:Name="Complements" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="3" MinWidth="100" HorizontalContentAlignment="Stretch" Margin="0,0,8,4"/>
    			<TextBox x:Name="District" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="4" MinWidth="100" HorizontalContentAlignment="Stretch" Margin="0,0,8,4"/>
    			<TextBox x:Name="Apartment" TextWrapping="Wrap" d:LayoutOverrides="Width, Height" Grid.Column="1" Grid.Row="5" MinWidth="100" HorizontalContentAlignment="Stretch" Margin="0,0,8,4"/>
    		</Grid>
    	</Expander>
		</StackPanel>
</UserControl>
